<?php 
	class ShowAction extends Action{
		public  function index(){
			$this->blog=D('BlogRelation')->getBlog((int)$_GET['id']);
			$_GET['id']=$this->blog['cid'];
			$data=array(
				'id'=>$this->blog['id'],
				'click'=>$this->blog['click']+1,
				);
			M('blog')->save($data);
			$this->display();
		}
	}